<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型-内边距</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background-color: pink;
            /* padding: 50px; */

            /* 单独设置方向
             padding-top: 20px;
            padding-bottom: 20px;
            padding-right: 20px;
            padding-left: 20px;  */
             
            padding: 10px 20px 30px;
        }
    </style>
</head>
<body>
    <div>标签</div>
</body>
</html>